load("@io_bazel_rules_go//go:def.bzl", "go_library")

go_library(
    name = "impl",
    srcs = ["impl_and_cost.go"],
    importpath = "github.com/pingcap/tidb/pkg/planner/cascades/impl",
    visibility = ["//visibility:public"],
    deps = [
        "//pkg/config",
        "//pkg/planner/cascades/memo",
        "//pkg/planner/core/base",
        "//pkg/planner/property",
        "//pkg/planner/util/debugtrace",
        "//pkg/planner/util/optimizetrace",
        "//pkg/planner/util/utilfuncp",
        "//pkg/util/dbterror/plannererrors",
        "//pkg/util/tracing",
        "@com_github_pingcap_errors//:errors",
    ],
)
